package main

/*
 */
import "C"

import (
	"log"
)

type Client struct {
}

func Connect() {

}

//export log_handler
func log_handler(level int, areas int, msg *C.char) {
	log.Println(level, areas, C.GoString(msg))
}

//export message_handler
func message_handler(subtype C.int, from *C.char, body *C.char) {
	log.Println(subtype, C.GoString(from), C.GoString(body))
}
